import { Document } from 'mongoose';

export interface ITaskMetadata extends Document {
  sessionId: string;
  metadataType: 'performance' | 'analytics' | 'user_behavior' | 'system';
  data: Record<string, any>;
  version: string;
  source: string; // 数据来源
  reliability: number; // 0-1，数据可靠性评分
  createdAt: Date;
  expiresAt?: Date; // 数据过期时间
}
